import { PORT1 } from "@/api/config/servicePort";
import Http from "@/api/index";

const baseUrl = PORT1 + "/system/message/feedback";

export const getFeedBackList = (params: any) => {
  return Http.get(baseUrl + "/list", params);
};

export const createFeedBack = (params: any) => {
  return Http.post(baseUrl + "/add", params);
};

export const getAllFeedback = (params: any) => {
  return Http.get(baseUrl + "/all_list", params);
};

export const operaFeedback = (params: any) => {
  return Http.post(baseUrl + "/status", params);
};
